# class Anima:
#     name = 'anima'
#     def shout(self):
#         print('anima shout')
# Anima = Anima()
# print(Anima.name)
# Anima.shout()


class Dog:
    name = 'dog'
    def __init__(self):
        self.age = 18
    def eat(self):
        print('dog eat')

dog1 = Dog()
print(dog1.name)
print(dog1.name)

dog1.name = 'ddddd1'
print(dog1.name)
print(Dog.name)

Dog.name= 'ddddd2'
print(dog1.name)
print(Dog.name)

dog2 = Dog()
print(dog2.name)
print(dog2.age)